﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    /// <summary>
    /// 调拨明细
    /// </summary>
    [Serializable]
    public class ProductAllotDetailDto
    {
        public Guid Id { get; set; }
        [Display(Name = "出库单号")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public System.Guid ProductAllotID { get; set; }
        public System.Guid ProductID { get; set; }//产品ID
        public System.Guid ProductSellBillDetailID { get; set; }//销售明细ID
        [Display(Name = "调拨数量")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public float AllotAmount { get; set; }
        [Display(Name = "调拨单价")]
        [Required(ErrorMessage = "{0}不能为空！")]
        public decimal AllotPrice { get; set; } 
        [Display(Name = "删除状态")]
        public int Deleted { get; set; }
        [Display(Name = "备注")]
        public string Remarks { get; set; }

        public string ProductName { get; set; }
        public string DeleteState { get; set; }//删除状态
    }
}
